home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / poly=paintop.hex < prev    next >
Text File  |  1992-11-27  |  2KB  |  33 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 02 AA AA AA AA AA AA AA AA % fill pat
  10. 09 FF FF FF FF FF FF FF FF % pn pat
  11. 0A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  14. %
  15. %    Test Polygons:
  16. %        Build a simple polygon, and paint it.   Have start and another vertex touch
  17. %        corners of a bounding square for reference.
  18. %
  19. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20.  
  21. % Frame a rectangle
  22. 30 0020 0020 00D0 00D0
  23.  
  24. % paint a polygon
  25. 71 001E 0020 0000 00D0 00D0
  26.     0020 0020
  27.     0050 0000
  28.     00D0 0040
  29.     00D0 00D0
  30.     00A0 00D0
  31.     
  32. FF    % end
  33.